<!doctype html>
<html>
<head>
    <%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@taglib prefix="s" uri="/struts-tags" %>
    <link Rel="shortcut icon" href="resource/ico/favicon.ico" type="image/x-icon"> 
    <link href="resource/css/initCss.css" rel="stylesheet" type="text/css">
    <link href="resource/css/loginPage.css" rel="stylesheet" type="text/css">
    <script type="text/javascript" src="js/jquery-3.2.1.min.js"></script>
	<meta name="Keywords" content="五子棋"/>
	<meta name="description" content="一款休闲娱乐的五子棋游戏---Eetal">
	<meta http-equiv="Pragma" content="no-cache"> 
	<meta http-equiv="Cache-Control" content="no-cache"> 
	<meta http-equiv="Expires" content="0"> 
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<title>欢迎!</title>
</head>

<body>
	<form name="loginForm" action="" method="post" id="loginformId">
		<s:token></s:token>
		<table>
			<tr><td><strong>用户名</strong></td></tr>
			<tr><td><input class="inputText" type="text" name="user.userName" placeholder="请输入用户名" autofocus/></td></tr>
			<tr><td><strong>密码</strong></td></tr>
			<tr><td><input class="inputText" type="password" name="user.password" placeholder="请输入密码"/></td></tr>
			<tr><td><font color="red">${errorMessage}</font></td></tr>
			<tr><td>
			<input class="inputButton" type="submit" value="登陆" formaction="loginCheck.action"/>
			<a href="register.jsp"><input class="inputButton" type="button" value="注册"/></a>
			<a href="forgotPWD.jsp">忘记密码</a>
			</td></tr>
		</table>
	</form>
</body>
<footer><a href="http://www.miitbeian.gov.cn" target="_blank">粤ICP备17157262号-1</a></footer>
	<script>
		if(navigator.userAgent.match(/mobile/i)){
	  		 $("body").addClass("Mobile_body");
	  		 $("#loginformId").addClass("Mobile_Login_Form");
		}
		else{
			$("body").addClass("PC_body");
			$("#loginformId").addClass("PC_Login_Form");
		}
	</script>
</html>
